package com.gimi.cloud.bbp.app.consumer.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.gimi.cloud.bbp.dto.order.OrderDTO;

import feign.Headers;

/**
 * @author 李林峰
 * @version 1.0
 * @Description
 * @create 2018年1月25日
 */
@FeignClient(name = "bbp-app-service")
public interface OrderFeignService {

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "order/userOrderList", method = RequestMethod.POST)
	String userOrderList(OrderDTO parseObject);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "order/modifyOrderStatus", method = RequestMethod.POST)
	String modifyOrderStatus(OrderDTO parseObject);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "order/getOrderDetails", method = RequestMethod.POST)
	String getOrderDetails(OrderDTO parseObject);

}
